package com.homework;

import java.util.Arrays;

/**
 * @author xiyu
 * @version 1.0
 * @date 2025/3/27 19:33
 * @description
 */
public class T7 {
    public static void main(String[] args) {
        String[] str = {"nba","abc","cba","zz","qq","haha"};
        Arrays.sort(str);
        System.out.println(Arrays.toString(str));
    }
}
